package haochu.com.qipai_adr.activity;

import android.os.Bundle;
import android.view.View;

import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import haochu.com.qipai_adr.R;

/**
 * 游戏大厅
 */
public class RoomActivity extends BaseActivity {

    @BindView(R.id.alert_join_room_bg)
    AutoRelativeLayout alertJoinRoom;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ahoi_room);
        ButterKnife.bind(this);
    }

    @OnClick
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.join_room:
                // 显示加入房间弹框
                alertJoinRoom.setVisibility(View.VISIBLE);
                break;
            case R.id.alert_join_room_close:
                // 关闭加入房间弹框
                alertJoinRoom.setVisibility(View.GONE);
                break;
            case R.id.room_no_0:
                break;
        }
    }
}
